package com.sys.pojo;


import com.baomidou.mybatisplus.annotation.*;
import com.sys.common.util.PageBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZJF
 * @since 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_chanage")
@ApiModel(value = "Chanage对象", description = "")
public class Chanage extends PageBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "原职务")
    private String oldChanage;

    @ApiModelProperty(value = "新职位")
    private String newChanage;

    @ApiModelProperty(value = "员工id")
    private Integer eid;

    @TableField(exist = false)
    private String ename;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建者")
    private Integer createBy;

}
